<template>
    <div>
        <Home  v-show="!isShow" />
        <Login v-show="isShow"/>
    </div>
</template>
<script>
import Home from '@/home.vue'
import Login from '@/login.vue'
export default {
    data(){
        return{
            isShow:true
        }
    },
    components:{
        Home,Login
    }
}
</script>
<style scoped>
html,body{
    padding:0;
    margin: 0;
}
</style>